home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 64 61 | 72 77 69 6e 2e 55 43 53 |Path: da|rwin.UCS|
|00000010| 43 2e 45 44 55 21 72 6f | 79 61 6c 74 65 79 0a 46 |C.EDU!ro|yaltey.F|
|00000020| 72 6f 6d 3a 20 48 61 6c | 20 52 6f 79 61 6c 74 65 |rom: Hal| Royalte|
|00000030| 79 20 3c 72 6f 79 61 6c | 74 65 79 40 64 61 72 77 |y <royal|tey@darw|
|00000040| 69 6e 2e 55 43 53 43 2e | 45 44 55 3e 0a 4e 65 77 |in.UCSC.|EDU>.New|
|00000050| 73 67 72 6f 75 70 73 3a | 20 63 6f 6d 70 2e 6c 61 |sgroups:| comp.la|
|00000060| 6e 67 2e 63 0a 53 75 62 | 6a 65 63 74 3a 20 52 65 |ng.c.Sub|ject: Re|
|00000070| 3a 20 44 65 74 65 72 6d | 69 6e 69 6e 67 20 74 68 |: Determ|ining th|
|00000080| 65 20 6c 65 6e 67 74 68 | 20 6f 66 20 61 6e 20 69 |e length| of an i|
|00000090| 6e 74 20 69 6e 20 73 74 | 72 69 6e 67 20 66 6f 72 |nt in st|ring for|
|000000a0| 6d 0a 44 61 74 65 3a 20 | 54 75 65 2c 20 31 39 20 |m.Date: |Tue, 19 |
|000000b0| 4d 61 72 20 31 39 39 36 | 20 31 37 3a 32 36 3a 31 |Mar 1996| 17:26:1|
|000000c0| 37 20 2d 30 38 30 30 0a | 4f 72 67 61 6e 69 7a 61 |7 -0800.|Organiza|
|000000d0| 74 69 6f 6e 3a 20 55 6e | 69 76 65 72 73 69 74 79 |tion: Un|iversity|
|000000e0| 20 6f 66 20 43 61 6c 69 | 66 6f 72 6e 69 61 2c 20 | of Cali|fornia, |
|000000f0| 53 61 6e 74 61 20 43 72 | 75 7a 0a 4d 65 73 73 61 |Santa Cr|uz.Messa|
|00000100| 67 65 2d 49 44 3a 20 3c | 50 69 6e 65 2e 53 4f 4c |ge-ID: <|Pine.SOL|
|00000110| 2e 33 2e 39 31 2e 39 36 | 30 33 31 39 31 37 32 33 |.3.91.96|03191723|
|00000120| 33 32 2e 34 35 33 35 41 | 2d 31 30 30 30 30 30 40 |32.4535A|-100000@|
|00000130| 64 61 72 77 69 6e 2e 55 | 43 53 43 2e 45 44 55 3e |darwin.U|CSC.EDU>|
|00000140| 0a 52 65 66 65 72 65 6e | 63 65 73 3a 20 3c 33 31 |.Referen|ces: <31|
|00000150| 34 36 44 30 35 38 2e 44 | 44 37 40 63 62 6d 2e 63 |46D058.D|D7@cbm.c|
|00000160| 6f 6d 3e 20 3c 34 69 37 | 75 74 68 24 71 70 68 40 |om> <4i7|uth$qph@|
|00000170| 69 6e 65 74 2d 6e 6e 74 | 70 2d 67 77 2d 31 2e 75 |inet-nnt|p-gw-1.u|
|00000180| 73 2e 6f 72 61 63 6c 65 | 2e 63 6f 6d 3e 20 3c 44 |s.oracle|.com> <D|
|00000190| 6f 45 33 38 75 2e 47 49 | 48 40 69 71 75 65 73 74 |oE38u.GI|H@iquest|
|000001a0| 2e 6e 65 74 3e 20 3c 34 | 69 6e 31 67 61 24 6f 67 |.net> <4|in1ga$og|
|000001b0| 6b 40 61 69 72 64 6d 68 | 6f 72 2e 67 65 6e 2e 6e |k@airdmh|or.gen.n|
|000001c0| 7a 3e 0a 4e 4e 54 50 2d | 50 6f 73 74 69 6e 67 2d |z>.NNTP-|Posting-|
|000001d0| 48 6f 73 74 3a 20 64 61 | 72 77 69 6e 2e 75 63 73 |Host: da|rwin.ucs|
|000001e0| 63 2e 65 64 75 0a 4d 69 | 6d 65 2d 56 65 72 73 69 |c.edu.Mi|me-Versi|
|000001f0| 6f 6e 3a 20 31 2e 30 0a | 43 6f 6e 74 65 6e 74 2d |on: 1.0.|Content-|
|00000200| 54 79 70 65 3a 20 54 45 | 58 54 2f 50 4c 41 49 4e |Type: TE|XT/PLAIN|
|00000210| 3b 20 63 68 61 72 73 65 | 74 3d 55 53 2d 41 53 43 |; charse|t=US-ASC|
|00000220| 49 49 0a 49 6e 2d 52 65 | 70 6c 79 2d 54 6f 3a 20 |II.In-Re|ply-To: |
|00000230| 3c 34 69 6e 31 67 61 24 | 6f 67 6b 40 61 69 72 64 |<4in1ga$|ogk@aird|
|00000240| 6d 68 6f 72 2e 67 65 6e | 2e 6e 7a 3e 20 0a 0a 0a |mhor.gen|.nz> ...|
|00000250| 0a 4f 6e 20 32 30 20 4d | 61 72 20 31 39 39 36 2c |.On 20 M|ar 1996,|
|00000260| 20 53 69 6d 6f 6e 20 48 | 6f 73 69 65 20 77 72 6f | Simon H|osie wro|
|00000270| 74 65 3a 0a 0a 3e 20 77 | 6b 61 75 66 6d 61 6e 40 |te:..> w|kaufman@|
|00000280| 77 6b 61 75 66 6d 61 6e | 2e 75 73 2e 6f 72 61 63 |wkaufman|.us.orac|
|00000290| 6c 65 2e 63 6f 6d 20 28 | 57 69 6c 6c 69 61 6d 20 |le.com (|William |
|000002a0| 4b 61 75 66 6d 61 6e 29 | 20 77 72 6f 74 65 3a 0a |Kaufman)| wrote:.|
|000002b0| 3e 20 2b 49 6e 20 61 72 | 74 69 63 6c 65 20 3c 33 |> +In ar|ticle <3|
|000002c0| 31 34 36 44 30 35 38 2e | 44 44 37 40 63 62 6d 2e |146D058.|DD7@cbm.|
|000002d0| 63 6f 6d 3e 20 44 61 76 | 65 20 50 61 79 6e 65 20 |com> Dav|e Payne |
|000002e0| 3c 70 61 79 6e 65 64 63 | 40 63 62 6d 2e 63 6f 6d |<paynedc|@cbm.com|
|000002f0| 3e 20 77 72 69 74 65 73 | 3a 0a 3e 20 2b 5d 20 43 |> writes|:.> +] C|
|00000300| 6f 6e 73 69 64 65 72 20 | 74 68 69 73 3a 0a 3e 20 |onsider |this:.> |
|00000310| 2b 5d 0a 3e 20 2b 5d 20 | 49 20 68 61 76 65 20 61 |+].> +] |I have a|
|00000320| 20 76 61 72 69 61 62 6c | 65 20 6f 66 20 74 79 70 | variabl|e of typ|
|00000330| 65 20 69 6e 74 2c 20 61 | 6e 64 20 49 20 77 6f 75 |e int, a|nd I wou|
|00000340| 6c 64 20 6c 69 6b 65 20 | 74 6f 20 75 73 65 20 74 |ld like |to use t|
|00000350| 68 65 20 73 70 72 69 6e | 74 66 28 29 0a 3e 20 2b |he sprin|tf().> +|
|00000360| 5d 20 66 75 6e 63 74 69 | 6f 6e 20 74 6f 20 77 72 |] functi|on to wr|
|00000370| 69 74 65 20 74 68 69 73 | 20 76 61 72 69 61 62 6c |ite this| variabl|
|00000380| 65 20 74 6f 20 61 20 73 | 74 72 69 6e 67 2e 20 20 |e to a s|tring. |
|00000390| 48 6f 77 65 76 65 72 2c | 20 49 20 77 61 6e 74 20 |However,| I want |
|000003a0| 74 6f 0a 3e 20 2b 5d 20 | 64 79 6e 61 6d 69 63 61 |to.> +] |dynamica|
|000003b0| 6c 6c 79 20 61 6c 6c 6f | 63 61 74 65 20 74 68 65 |lly allo|cate the|
|000003c0| 20 73 70 61 63 65 20 66 | 6f 72 20 74 68 65 20 73 | space f|or the s|
|000003d0| 74 72 69 6e 67 2c 20 61 | 6e 64 20 6f 6e 6c 79 20 |tring, a|nd only |
|000003e0| 6d 61 6c 6c 6f 63 20 65 | 6e 6f 75 67 68 0a 3e 20 |malloc e|nough.> |
|000003f0| 2b 5d 20 73 70 61 63 65 | 20 74 6f 20 68 6f 6c 64 |+] space| to hold|
|00000400| 20 74 68 65 20 69 6e 74 | 2e 0a 3e 20 0a 20 54 72 | the int|..> . Tr|
|00000410| 79 20 74 61 6b 69 6e 67 | 20 74 68 65 20 62 61 73 |y taking| the bas|
|00000420| 65 20 31 30 20 6c 6f 67 | 20 6f 66 20 74 68 65 20 |e 10 log| of the |
|00000430| 6e 75 6d 62 65 72 2c 20 | 61 64 64 20 31 2c 20 61 |number, |add 1, a|
|00000440| 6e 64 20 64 69 73 63 61 | 72 64 20 74 68 65 20 66 |nd disca|rd the f|
|00000450| 72 61 63 74 69 6f 6e 61 | 6c 0a 70 6f 72 74 69 6f |ractiona|l.portio|
|00000460| 6e 2e 20 20 54 68 61 74 | 20 6f 75 67 68 74 61 20 |n. That| oughta |
|00000470| 67 69 76 65 20 79 6f 75 | 20 74 68 65 20 72 69 67 |give you| the rig|
|00000480| 68 74 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 68 61 |ht numbe|r of cha|
|00000490| 72 61 63 74 65 72 73 2c | 20 65 78 63 6c 75 64 69 |racters,| excludi|
|000004a0| 6e 67 20 61 0a 73 69 67 | 6e 20 63 68 61 72 61 63 |ng a.sig|n charac|
|000004b0| 74 65 72 2e 20 20 20 48 | 6f 77 65 76 65 72 2c 20 |ter. H|owever, |
|000004c0| 49 20 63 61 6e 27 74 20 | 69 6d 61 67 69 6e 65 20 |I can't |imagine |
|000004d0| 61 6e 79 20 63 69 72 63 | 75 6d 73 74 61 6e 63 65 |any circ|umstance|
|000004e0| 20 75 6e 64 65 72 20 77 | 68 69 63 68 20 0a 74 61 | under w|hich .ta|
|000004f0| 6b 69 6e 67 20 62 61 73 | 65 20 31 30 20 6c 6f 67 |king bas|e 10 log|
|00000500| 73 20 69 73 20 62 65 74 | 74 65 72 20 74 68 61 6e |s is bet|ter than|
|00000510| 20 73 69 6d 70 6c 79 20 | 77 61 73 74 69 6e 67 20 | simply |wasting |
|00000520| 61 20 66 65 77 20 62 79 | 74 65 73 20 6f 66 20 73 |a few by|tes of s|
|00000530| 74 72 69 6e 67 0a 73 70 | 61 63 65 2e 0a 20 0a |tring.sp|ace.. . |
+--------+-------------------------+-------------------------+--------+--------+